-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to disable ctrlf-mode locally in buffers #53
Make it possible to disable ctrlf-mode locally in buffers #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is reasonable, but most people should be enabling ctrlf-mode
globally. Can we make the global mode called ctrlf-mode
and the local mode called ctrlf-local-mode
?
2fcb00b
to
80ed834
Compare
Yes, I also thought it would be more reasonable to keep |
I didn't update the readme now, since I was unsure if you wanted to do the blocklist thing as well. The only mode hook I know now where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'd be happy to merge this with a small README update and CHANGELOG entry. You could also add the blacklist if you wanted, but it would probably make more sense to do that in a separate pull request.
80ed834
to
8159c39
Compare
8159c39
to
e8b3266
Compare
Hope this looks good! |
Do this by defining ctrlf-local-mode as a local minor mode and ctrlf-mode as a global minor mode
e8b3266
to
e49ad5e
Compare
Commit 44155e3 improves the formatting. Otherwise, looks good. Thanks! |
Do this by defining ctrlf-global-mode and let ctrlf-mode be an
ordinary buffer-local minor-mode
See this more as a suggestion, one way of solving problems like #52